package org.huanletao.ssm.service;

import org.huanletao.ssm.mapper.UserMapper;
import org.huanletao.ssm.model.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * </p>
 * package: org.huanletao.ssm.service
 * description:
 * className: LoginService
 * author:  踏雪无痕
 * copyright: Copyright (c) 2022/8/28 16:06
 * since: 1.0.0
 */
@Service
public class LoginService {

    @Autowired
    UserMapper userMapper;

    public User findUserByUserName(String username) {
        return userMapper.selectUserByName(username);
    }
}
